define({ "api": [
  {
    "type": "get",
    "url": "/findIsUnderReview/:id",
    "title": "判断是否处于审核状态",
    "name": "findIsUnderReview",
    "group": "InternInfo",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Integer",
            "optional": false,
            "field": "userId",
            "description": "<p>用户表id</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "boolean",
            "optional": false,
            "field": "success",
            "description": "<p>是否成功</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "flag",
            "description": "<p>1 - 处于审核流程 2 - 不处于审核流程</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response 处于审核流程:",
          "content": "HTTP/1.1 200 OK\n{\n  \"success\": true,\n  \"flag\": \"1\",\n  \"message\":\"处于审核流程\"\n}",
          "type": "json"
        },
        {
          "title": "Success-Response 不处于审核流程:",
          "content": "HTTP/1.1 200 OK\n{\n  \"success\": true,\n  \"flag\": \"2\"\n  \"message\":\"不处于审核流程\"\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "HTTP/1.1 404 程序异常\n{\n  \"success\": false,\n  \"message\":\"程序异常\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "src/main/java/com/project/controller/web/InternInfoController.java",
    "groupTitle": "InternInfo",
    "sampleRequest": [
      {
        "url": "http://localhost:8080/findIsUnderReview/:id"
      }
    ]
  },
  {
    "type": "post",
    "url": "/magfacultyinfo/findBatchByCondition",
    "title": "[分页][条件]查找行政人员详细信息",
    "name": "findBatchByCondition",
    "group": "MagFacultyInfo",
    "version": "0.0.1",
    "description": "<p>根据用户表、行政人员信息表筛选</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "json",
            "optional": false,
            "field": "MagfacultyInfoDetail",
            "description": "<p>行政人员详细信息（用户表 + 行政人员信息表）</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    user:{},\n    magFacultyInfo:{}\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "MagfacultyInfoDetail",
            "optional": false,
            "field": "magfacultyInfoDetail",
            "description": "<p>行政人员详细记录(用户表 + 行政人员信息表)</p>"
          },
          {
            "group": "Success 200",
            "type": "Department",
            "optional": false,
            "field": "department",
            "description": "<p>系信息 显示</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"magfacultyInfoDetail\": {\n      user:{},\n      magFacultyInfo:{}\n  },\n  \"department\": {}\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/project/controller/web/MagfacultyInfoController.java",
    "groupTitle": "MagFacultyInfo",
    "sampleRequest": [
      {
        "url": "http://localhost:8080/magfacultyinfo/findBatchByCondition"
      }
    ]
  },
  {
    "type": "get",
    "url": "/magfacultyinfo/findOne/:userId",
    "title": "根据useId查找单个",
    "name": "findOne",
    "group": "MagFacultyInfo",
    "version": "0.0.1",
    "description": "<p>按userId查找行政人员信息</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "userId",
            "description": "<p>行政人员详细信息（用户表 + 行政人员信息表）</p>"
          }
        ]
      }
    },
    "filename": "src/main/java/com/project/controller/web/MagfacultyInfoController.java",
    "groupTitle": "MagFacultyInfo",
    "sampleRequest": [
      {
        "url": "http://localhost:8080/magfacultyinfo/findOne/:userId"
      }
    ]
  },
  {
    "type": "post",
    "url": "/major/addOne",
    "title": "添加单个专业",
    "name": "addOne",
    "group": "Major",
    "version": "0.0.1",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "json",
            "optional": false,
            "field": "major",
            "description": "<p>专业</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n   \"name\":\"计算机（IT）\",\n   \"universityid\":12,\n   \"schoolid\":11,\n   \"departmentid\":6\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "boolean",
            "optional": false,
            "field": "success",
            "description": "<p>true</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>提示信息</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"firstname\": \"John\",\n  \"lastname\": \"Doe\"\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response: 程序异常",
          "content": "HTTP/1.1 404 程序异常\n{\n   \"data\": null,\n   \"flag\": 0,\n   \"message\": \"程序异常\",\n   \"success\": false,\n   \"total\": 0\n}",
          "type": "json"
        },
        {
          "title": "Error-Response: 专业已存在",
          "content": "    HTTP/1.1 200 专业已存在\n   {\n     \"data\": null,\n     \"flag\": 0,\n     \"message\": \"该专业已存在\",\n     \"success\": false,\n     \"total\": 0\n   }\n    /**\nauthor: WheelChen\ndate: 2017/8/10\nfunction: 添加单个专业",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/project/controller/web/MajorController.java",
    "groupTitle": "Major",
    "sampleRequest": [
      {
        "url": "http://localhost:8080/major/addOne"
      }
    ]
  },
  {
    "type": "post",
    "url": "/findByCondition/findByCondition",
    "title": "模糊搜索分页显示公司信息",
    "name": "findByCondition",
    "group": "OrgInfo",
    "version": "0.0.1",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "json",
            "optional": false,
            "field": "orgInfo",
            "description": "<p>公司信息</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \t\"pageSize\":3,\n     \"pageIndex\":1,\n     \"isTemporary\":1//是否显示暂存信息 1-不显示 其余表示显示\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "array",
            "optional": false,
            "field": "data",
            "description": "<p>返回数据</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "total",
            "description": "<p>总数</p>"
          },
          {
            "group": "Success 200",
            "type": "boolean",
            "optional": false,
            "field": "success",
            "description": "<p>成功与否 true - 成功 false - 失败</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>提示信息</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"data\":[\n  {...},\n  {...}\n  ]\n  \"flag\": 0,\n  \"message\": \"查询成功\",\n  \"success\": true,\n  \"total\": 2\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "HTTP/1.1 404 程序异常\n{\n  \"success\": false,\n  \"message\":\"程序异常\"\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/project/controller/web/OrginfoController.java",
    "groupTitle": "OrgInfo",
    "sampleRequest": [
      {
        "url": "http://localhost:8080/findByCondition/findByCondition"
      }
    ]
  },
  {
    "type": "POST",
    "url": "/fileUpload",
    "title": "文件上传",
    "version": "1.0.0",
    "group": "Public",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "fileUp",
            "optional": false,
            "field": "file",
            "description": "<p>上传文件</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "bool",
            "optional": false,
            "field": "success",
            "description": "<p>返回成功</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>提示</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n     \"success\": true;\n     \"message\": \"上传成功\";\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/project/controller/web/PublicController.java",
    "groupTitle": "Public",
    "name": "PostFileupload",
    "sampleRequest": [
      {
        "url": "http://localhost:8080/fileUpload"
      }
    ]
  }
] });
